package com.library.bean;

public class Book {
	
	private int book_id;
	private String book_code;
	private String book_name;
	private int book_total;
	private int lend_num;
	
	public int getBook_id() {
		return book_id;
	}
	public void setBook_id(int book_id) {
		this.book_id = book_id;
	}
	public String getBook_code() {
		return book_code;
	}
	public void setBook_code(String book_code) {
		this.book_code = book_code;
	}
	public String getBook_name() {
		return book_name;
	}
	public void setBook_name(String book_name) {
		this.book_name = book_name;
	}
	public int getBook_total() {
		return book_total;
	}
	public void setBook_total(int book_total) {
		this.book_total = book_total;
	}
	public int getLend_num() {
		return lend_num;
	}
	public void setLend_num(int lend_num) {
		this.lend_num = lend_num;
	}
	
	@Override
	public String toString() {
		return "Book [book_id=" + book_id + ", book_code=" + book_code + ", book_name=" + book_name + ", book_total="
				+ book_total + ", lend_num=" + lend_num + "]";
	}
	
	public Book(int book_id, String book_code, String book_name, int book_total, int lend_num) {
		super();
		this.book_id = book_id;
		this.book_code = book_code;
		this.book_name = book_name;
		this.book_total = book_total;
		this.lend_num = lend_num;
	}
	public Book() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	

}
